import request from '@/utils/request'
export function enterpriseList (params) {
  return request({
    url: '/enterprise/list',
    method: 'get',
    params
    // headers:{token:"61d245804dfe8"}
  })
}
// 删除
export function enterpriseRemove (data) {
  return request({
    url: '/enterprise/remove',
    method: 'post',
    data
  })
}
// 新增
export function enterpriseAdd (data) {
  return request({
    url: '/enterprise/add',
    method: 'post',
    data
  })
}
// 编辑
export function enterpriseEdit (data) {
  return request({
    url: '/enterprise/edit',
    method: 'post',
    data
  })
}
// 更改状态
export function enterpriseStatus (data) {
  return request({
    url: '/enterprise/status',
    method: 'post',
    data
  })
}
